package com.coreJava.xianchengchi;

import java.util.concurrent.RejectedExecutionHandler;
import java.util.concurrent.ThreadPoolExecutor;

/**
 * 作者: LCG
 * 日期: 2020/2/10 22:18
 * 描述:
 */
public class MyRejectedImpl implements RejectedExecutionHandler {
    @Override
    public void rejectedExecution(Runnable r, ThreadPoolExecutor executor) {

        //处理，不能消化的线程

    }
}
